<%--
 *  File:    OrgWarehouseMgmtFrm.jsp
 *  @Author: Hilldao 
 *  Date:    2001/11/4
 *
 *  Copyright (C) 2000 - 2001 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>

<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>     
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>

<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/oval-tag.tld" prefix="oval" %>


<%
  //init param
  Category cat = Category.getInstance("jsp.DeptMgmtFrm");  
  String privilegeCode = "10102,L101";
  HashMap userInfo = (HashMap)session.getAttribute("userinfo");
  String orgid = userInfo.get("orgid").toString();
  String deptid = "";
  if(session.getAttribute("deptid") != null){
	  deptid = session.getAttribute("deptid").toString();
  }
  String jspName = "";
  if(deptid==""){
	  jspName = "Blank.jsp?"+OvalTools.randomURL();
  }else{
	  jspName = "DeptEdit.jsp?"+OvalTools.randomURL()+"&deptid=" + deptid + "&languagecode="+strSessionLanguageCode+"&orgid="+orgid;
  }
%>
<%@ include file="/inc/Security.inc" %>

<%@ include file="/inc/FrmDefault.inc" %>
<html>
<head>
<title>DeptMgmtFrm</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<frameset rows="240,*" frameborder="YES" border="1" framespacing="1" cols="*" bordercolor="#999999"> 
  <frame name="up" src="DeptSummary.jsp?<%= OvalTools.randomURL() %>&languagecode=<%=JspHelper.filterNull( strFrmLanguageCode )%>&orgid=<oval:write name="userinfo" scope="session" property="orgid"/>" frameborder="NO" scrolling="NO">
  <frame name="down" src="<%= jspName %>" scrolling="yes" frameborder="NO" noresize >
</frameset>
<noframes> 
<body>
</body>
</noframes> 
</html>


